Check if Work Plane-Based

Hi, is there a way to check if a family is work plane based, preferably from the Family Type selection Node.
The reason is I made a script that inserts components in the documents following a certain number of parameters, But I need to use it for work plane and non-work plane based families.
So if I had a way to check I would change the workflow to match the family need.

Thank you all again.

Don’t Know if it is the correct way but it may help someone.

That is what I did:

# Enable Python support and load DesignScript library
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# The inputs to this node will be stored as a list in the IN variables.
dataEnteringNode = IN

# Place your code below this line
a=IN[0]
for p in a.Family.Parameters:
	if "Work Plane-Based : No" in p.ToString():
		OUT = "Fuck Yeah"
	else:
		OUT = "Not Found"
# Assign your output to the OUT variable.