Asset.satisfies#

abstractmethod Asset.satisfies(asset, constraint)[source]

Check if the asset satisfies the constraint.

Parameters:
  • asset (Any) – The asset to check.

  • constraint (Any) – The constraint to check.

Returns:

True if the asset satisfies the constraint, False otherwise.

Return type:

bool