How can you know that your building is earthquake resistant or not?

it should be checked by the contractor