If you consider the documentation of the function you will see
def is_subgraph(self, other, induced=True):
"""
Tests whether ``self`` is a subgraph of ``other``.
.. WARNING::
Please note that this method does not check whether ``self``
contains a subgraph *isomorphic* to ``other``, but only if it
directly contains it as a subgraph !
Now your two triangles have labels 0,1,4 and 2,3,5. Which are different
from the one in "ExSW". So this method returns False as expected.
You can access the documentation of any function in Sage with the
question mark (and with two you access the source code).
sage: h.is_subgraph?
Vincent