license_enabled( option )
Returns 1 if the specified option is licensed, and 0 if it is not.
Example
select license_enabled( 'ASE_JAVA' )