def getFirstTypeParent(start, node_type):
    """
    Gets the first type of parent found in all of the parents from the given start.

    Args:
        start (pm.nodetypes.Transform): Transform to find type of parent.

        node_type (string): Type of transform to find.

    Returns:
        (pm.nodetypes.Transform or None): First parent in of given node type if found, else None.
    """
    parents = start.getAllParents()
    for parent in parents:
        if parent.nodeType() == node_type:
            return parent

    return None