I have following arrays of objects:

I need to check if these two arrays have the same begin property. In this case that appears to be true in three objects. So far I have tried this code, but with no luck (input.value being the first array).
const found = input.value.some((item) => item.begin === filtered.filter((time) => time.begin));
Any ideas how can I achieve this? Thank you in advance.