pymel.core.language.isValidMelType

isValidMelType(typStr)

Returns whether typeStr is a valid MEL type identifier

Return type:bool