Update View.class.php

Added method exists()