Function: hasOtherInstanceOfType()
hasOtherInstanceOfType(
root,component):boolean
Returns true when another component of the same type already exists under the root.
Parameters
root
the form component tree root.
component
the component being checked.
Returns
boolean
true when another instance of the same type exists, false otherwise.