Refactored SqlitePDO::isAvailable

to prevent errors when PDO constants aren’t available.