pymel.core.modeling.canCreateManip

static modeling.canCreateManip(*args, **kwargs)

This command returns true if there can be a manipulator made for the specified selection, false otherwise.

Derived from mel command maya.cmds.canCreateManip

Example:

import pymel.core as pm

canWeCreateIt = pm.canCreateManip('node')