is
Valid
Repository
Function to check the validity of a repository url
Return
whether the repository is valid as Boolean
Parameters
repository
: repository to check