def check_is_hashable(py_obj):
    """ Check if a python object is hashable

    Note: this function is currently not used, but is useful for future
          development.

    Args:
        py_obj: python object to test
    """
    try:
        py_obj.__hash__()
        return True
    except TypeError:
        return False
