Yes and no, because here I'm testing that the returned value is exactly 'True' or 'False' and not the  'None' or some object like str etc.