Verify a given string for being valid password

def verify_password(self, password):
        """ Verify a given string for being valid password """
        if self.password is None:
            return False

        from boiler.user.util.passlib import passlib_context
        return passlib_context.verify(str(password), self.password)