Explicitly returning True or False would make this clearer