public static function isExists($email) { $model = new self(); return false !== $model->getUserByMail($email); }