Being more specific about which errors/exceptions to catch when checking if something is evaluatable