bids.utils.matches_entities

matches_entities(obj, entities, strict=False)[source]

Checks whether an object’s entities match the input.