Make #external? method more readable

Please merge.