Minor refactor for builtin_lookup() function.
Minor refactor for builtin_lookup() function.

Minor refactor for builtin_lookup() function to improve
readability.

Mr-Kumar-Abhishek/zuzeelik,shadow-stranger/zuzeelik