Question: is written or was written?
Answer: Both expressions contain the past participle 'written' and are in the passive voice. So 'Macbeth is written by Shakespeare' is by no means a present tense. A present continuous could be created by saying 'Macbeth is being written by Shakespeare' which is wholly wrong as it was written over 400 years ago.