def check_pointing_data(msg, nats, shared_storage, logger):
    """
    Check to see whether the message comes from an object pointing at an object

    Args:
        msg: nats message
        nats: nats handler object
        shared_storage: shared storage dictionary
        logger: logger object
    """

    if msg.sender_id in shared_storage["pointing"]:
        return True
    return False