code: def email_is_available(self, new_email):
          
  
          user, user_email = self.db_manager.get_user_and_user_email_by_email(new_email)
          return (user == None)
docs: Check if ``new_email`` is available.
  
          | Returns True if ``new_email`` does not exist or belongs to the current user.
          | Return False otherwise.