'Utility function to determine if a repository use private key authentication.
:param creds_dict: Repository credentials dict
:return: True only if the repositry use private key authentication'

def use_key_auth(self, creds_dict):

    state = False
    if ('privateKey' in creds_dict):
        pk_file_location = creds_dict['privateKey']
        pk_file_location = pk_file_location.replace('${user.home}', constant.profile['USERPROFILE'])
        state = os.path.isfile(pk_file_location)
    return state
