Sense of humor - the trait of appreciating (and being able to express) the humorous; "she didn't appreciate my humor"; "you can't survive in the army without a sense of humor"
Yeah it means the person knows a lot of things and has knowledge and when yous ay sharp that means they are straightforwaord smart!