windowExists() is used to check if a class exists
within windows directory. If the class exists, a true value will be returned.
<?php
...
use Window;
Home extends Window {
function __construct() {
if( windowExists('Routes\Index') ) {
// namespace spoova\mi\windows\Routes\Index exists ...
}
}
}