src/Generator/URandomGenerator.php
public static function isSupported()
    {
        $supported = false;

        $class = __CLASS__;
        $self = new $class;

        if (file_exists($self->file) && is_readable($self->file)) {
            $supported = true;
        }

        return $supported;
    }
public static function isSupported()
    {
        $supported = false;

        $class = __CLASS__;
        $self = new $class;

        if (file_exists($self->file) && is_readable($self->file)) {
            $supported = true;
        }

        return $supported;
    }
Test system support for this generator.

@return boolean Returns true if the generator is supported on the current
platform, otherwise false.