introduced static route validator for loadFromArray class