Function : windowExists

This function windowExists() is used to check if a class exists within windows directory. If the class exists, a true value will be returned.

sample windowExists: Home
  <?php 

  ... 

  use Window;

  Home extends Window { 


    function __construct() {

      if( windowExists('Routes\Index') ) {

        // namespace spoova\mi\windows\Routes\Index exists ...

      }

    }


  }