Although it is very unusual for an airline not to through check bags between their own flights even if on separate tickets. Seems more like bad customer service than anything else if it's their own metal.
But yes, when it's two different airlines, it usually depends on the knowledge, experience and willingness of the check in agent.