is_mock_name

lsst.pipe.base.tests.mocks.is_mock_name(name: str | None) bool

Return whether the given name is that of a mock storage class, dataset type, or task label.

Parameters:
namestr or None

The given name to check.

Returns:
is_mockbool

Whether the name is for a mock or not.