/// Returns true if the attibute's object type satisfies the argument value
/// \param[in] theAttribute a checked attribute
/// \param[in] theShapeType a type of shape
/// \param[out] theError error message.
/// Returns true if the attibute's object type satisfies the argument value
/// \param[in] theAttribute a checked attribute
/// \param[in] theShapeType a type of shape
/// \param[out] theError error message.