Delete hasEnblePrimaryCredential function