• why this code is wrong?

 

I would like to give some feedback about ...

From: https://checkio.org/mission/verify-anagrams/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

in IDE (pyCharm 4.0.5) on my PC this function get ('True') value, but in this task online this function get 'False'