def METHOD_NAME(self, segment_name, key):
    """
    Check whether a specific key belongs to a segment in storage.
    :param segment_name: Name of the segment to search in.
    :type segment_name: str
    :param key: Key to search for.
    :type key: str
    :return: True if the segment contains the key. False otherwise.
    :rtype: bool
    """
    pass