Python boolean methods naming convention

There is no standard naming convention specific to boolean-returning methods. However, PEP8 does have a guide for naming functions.

Function names should be lowercase, with words separated by
underscores as necessary to improve readability.

Typically, people start a function with is (e.g. is_palindrome) to describe that a boolean value is returned.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)