It should return the boolean value `True`,or`False`. but it doesn't return anything

Please format your code.

Is part of your code missing? You didn’t call the function…