Implement the not method.