src/main/java/org/intellimate/izou/sdk/frameworks/common/resources/SelectorResource.java
public static Optional<Boolean> isTarget(EventModel eventModel, Identifiable identifiable) {
        if (eventModel.getListResourceContainer()
                .providesResource(Collections.singletonList(SelectorResource.RESOURCE_ID))) {
               return Optional.of(eventModel.getListResourceContainer()
                       .provideResource(SelectorResource.RESOURCE_ID)
                       .stream()
                       .map(ResourceModel::getResource)
                       .filter(resource -> resource instanceof Identification)
                       .map(object -> (Identification) object)
                       .anyMatch(identifiable::isOwner));
        } else {
            return Optional.empty();
        }
    }
public static Optional<Boolean> isTarget(EventModel eventModel, Identifiable identifiable) {
        if (eventModel.getListResourceContainer()
                .providesResource(Collections.singletonList(SelectorResource.RESOURCE_ID))) {
               return Optional.of(eventModel.getListResourceContainer()
                       .provideResource(SelectorResource.RESOURCE_ID)
                       .stream()
                       .map(ResourceModel::getResource)
                       .filter(resource -> resource instanceof Identification)
                       .map(object -> (Identification) object)
                       .anyMatch(identifiable::isOwner));
        } else {
            return Optional.empty();
        }
    }
returns true if the identifiable is the target of the EventModel
@param eventModel the EventModel to check
@param identifiable the identifiable to check against
@return maybe true if found