isSelected(){
        let checkbox = document.getElementById(this.id);
        if (checkbox !== null  && checkbox.checked){
            return true;
        }

        return false;
    }
/**
     * determines if the component was selected 
     * 
     * @returns {boolean} true if it is false otherwise
     */
determines if the component was selected

@returns {boolean} true if it is false otherwise
determines if the component was selected @returns { boolean } true if it is false otherwise
isSelected(){
        let checkbox = document.getElementById(this.id);
        if (checkbox !== null  && checkbox.checked){
            return true;
        }
        return false;
    }
isSelected ( ) { let checkbox = document . getElementById ( this . id ) ; if ( checkbox !== null && checkbox . checked ) { return true ; } return false ; }
determines if the component was selected
determines if the component was selected