is Valid Repository

fun isValidRepository(repository: String?): Boolean

Function to check the validity of a repository url

Return

whether the repository is valid as Boolean

Parameters

repository

: repository to check