A sufficient condition for the coincidence of the core of a cooperative game with its solution