Validate if an object has an 'api' export.
The object to check.
True if the object has an 'api' property.
Validate if an object has an 'api' export.