That is not the direct object here as the verb is a copular (or linking) verb, and such verbs don't take direct objects. It is, in fact, the
subject complement. The noun phrase after a verb is often the direct object, but not always. For instance, with a
ditransitive verb, you could have 'I wrote John a letter, but the direct object is 'a letter', not 'John'.