how can I simplify this function in vue:
checkMyString() { if (myString === undefined) { return false; } else if (myString === \'\') { return fals