public function source($dir)
    {
        // Check if unbuilt Drupal
        foreach ($this->getMakefiles($dir) as $file) {
            $f = fopen($file, 'r');
            $peek = fread($f, 1000);
            fclose($f);
            if (strpos($peek, 'api') !== FALSE && strpos($peek, 'core') !== FALSE) {
                return true;
            }
        }

        return false;
    }