qspec. has_shape ( a )[source] Check if a has the shape property and TypeGuard it. Parameters: aAny The object to check. Returns: has_shapeTypeGuard[HasShape] Whether a has the shape property.