pymel.core.modeling.canCreateManip

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

import maya.cmds as cmds

canWeCreateIt = pm.canCreateManip('node')