<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _CheckIsSocket(self, file_entry):
 """Checks the is_socket find specification. Args: file_entry (FileEntry):
 file entry. Returns: bool: True if the file entry matches the find specification, False if not. """

    if definitions.FILE_ENTRY_TYPE_SOCKET not in self._file_entry_types:
      return False
    return file_entry.IsSocket()