This check will run every time `strtolower` is called, you probably want to just check it once.