code: def is_socket_sockaddr(fileobj, address, type=0, flowinfo=0, listening=-1):
      
      fd = _convert_fileobj(fileobj)
      return _is_socket_sockaddr(fd, address, type, flowinfo, listening)
docs: Check socket type, address and/or port, flowinfo, listening state.
  
      Wraps sd_is_socket_inet_sockaddr(3).
  
      `address` is a systemd-style numerical IPv4 or IPv6 address as used in
      ListenStream=. A port may be included after a colon (":").
      See systemd.socket(5) for details.
  
      Constants for `family` are defined in the socket module.