HasFunction:Bool()                         (read-only)

True if the ship has the specified hull function used as index. The index is either the name ("Gravitonic") or number (7) of the function, as it can be used in SHIPLIST.TXT.

This property considers all functions assigned to this ship type as well as to this individual ship, and honors level restrictions.

Since: PCC 1.1.15, PCC2 1.99.21

See also: Ship Properties