Refactor #external? method