File Security Check in wordpress in index.php of theme

Basically Its a check if the index.php file is accessed directly and not by WordPress, if the first is the case then the scripts stops the execution , displays a message

You do not have sufficient permissions to access this page!

And stops farther execution for the script.