check for local giphy api key before using public key