Remove isValidProvider

Function isn't used anywhere.