Will has_category be true is used on index and one of queried posts has the category?

Will has_category be true is used on index and one of queried posts has the category?