code: def get_neighbor_in_filter(neigh_ip_address):
      
      core = CORE_MANAGER.get_core_service()
      peer = core.peer_manager.get_by_addr(neigh_ip_address)
      return peer.in_filters
docs: Returns a neighbor in_filter for given ip address if exists.