is_mock_name

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

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

Parameters:
namestr

The given name to check.

Returns:
is_mockbool

Whether the name is for a mock or not.