You can easily check the mod_rewrite is enabled from phpinfo.php file. You have to put phpinfo() function in file and you can check the information about your PHP installation. You can also use "apache_get_modules" function to your file.
You have to enter below code in your file:
<?php...