alla stregua di function_exists c'è pure interface_exists... e visto che mcrypt è un'interfaccia...