Is it true that was she the man based on twelfth night based on the following text?

The 2006 film She's the Man modernises the story as a contemporary teenage comedy (as 10 Things I Hate About You did with The Taming of the Shrew). It is set in a prep school named Illyria and incorporates the names of the play's major characters. For example, Orsino, Duke of Illyria becomes simply Duke Orsino (''Duke'' being his forename). The story was changed to revolve around the idea of soccer rivalry but the twisted character romance remained the same as the original. Viola, the main character, pretends to be her brother Sebastian, and a girl named Olivia falls in love with Viola as Sebastian. She also goes to a restaurant named ''Cesario's''. Two of Duke's Illyria soccer teammates are named Andrew and Toby. A nod is given to the omitted subplot by naming a briefly-onscreen tarantula Malvolio. Sebastian's ex-girlfriend Monique was given the surname Valentine, and the meddling Malcolm was given the surname Festes.
yes