Fix None instead of False in return statement.