public function hasValidSourceFile()
    {
        $sourcefile = $this->getSourceFile();

        return (true === is_readable($sourcefile) && false === is_dir($sourcefile));
    }
public function hasValidSourceFile()
    {
        $sourcefile = $this->getSourceFile();

        return (true === is_readable($sourcefile) && false === is_dir($sourcefile));
    }
public function hasValidSourceFile ( ) { $ sourcefile = $ this -> getSourceFile ( ) ; return ( true === is_readable ( $ sourcefile ) && false === is_dir ( $ sourcefile ) ) ; }
Is the source file is a valid readable file ?

@return boolean
Is the source file is a valid readable file ?