As you note, 21.5" Late 2009 iMacs like the OP's iMac never supported Target Display Mode.
With respect to expensive cabling (for iMacs that did support it) …
Target Display Mode on a 27" Late 2009 or 27" Mid 2010 iMac does not require expensive cabling. Those iMacs did not have Thunderbolt ports, and so when they are operating in Target Display Mode, they only need Mini DisplayPort input. If Apple had not added restrictions on "the other Mac", the required cabling for one of today's "other Macs" (USB-C (DP) to Mini DisplayPort adapter cable) would be readily available and quite affordable.
Once iMacs got Thunderbolt ports, TDM required Thunderbolt input, which made cabling more expensive - and eliminated the ability to use an iMac operating in TDM as a display for an older, non-Thunderbolt-equipped Mac. All of the 2011, 2012, 2013, and mid 2014 iMacs that support TDM suffer from this disadvantage.