new feature: function recognize (something)

a mix of assert, error and info