How to verify this checkbox is checked?

<?php
echo "<input type="checkbox" name="automatic" value="1" ".checked(1, get_option('automatic'))." />";

if (get_option('automatic') === '1') { require_once 'myfile.php'; }
?>