def is_staticmethod(kls: object, method: str) -> bool:
    """ Determines if the method of the class is a staticmethod.

    Args:
        kls: The class to test for the staticmethod.
        method: The name of the method to be checked. This method does not need
          to exist; if it does not exist, this function returns False.
    """
    bound_method = vars(kls).get(method, False)
    return bound_method and isinstance(bound_method, staticmethod)