It all depends on the situation, if the office was indeed cornered and it was dark i can give him the benefit of doubt. But it would seem that from a few feet he would most likely be able to distinguish a pen from a weapon.