The isConnectedcommand is used to check if two plugs are connected in the dependency graph. The return value is falseif they are not and trueif they are. The first string specifies the source plug to check for connection. The second one specifies the destination plug to check for connection.
In looking for connections, skip past unit conversion nodes. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.isConnected