pylint #20138 use type inference to catch some case of missing () after function/method name [open]

When writing python code, people used to other languages can forget the () after a function / method and write code such as:

a = some_function_returning_a_string()
if a.lower == 'yes':

Pylint should be able to know that the comparison will always be False and issue a warning.

appeared in<not specified>
done in<not specified>
closed by<not specified>