@classmethod
def exists(cls, shark, path):
    """Returns true if the resource exists, false otherwise
        """
    assert shark is not None
    assert path is not None and len(path) > 0
    try:
        shark.api.fs.get_details(path)
    except Exception:
        return False
    else:
        return True
